XMLFormat(string)


Returns a string that is safe to use with XML.

string

Any string.

Usage
XMLFormat escapes special XML characters so that you can put arbitrary strings safely into XML.
The characters that are escaped by XMLFormat include the following: